import { ResPage, AppData, ResultData } from "@/api/interface/index";
import http from "@/api";

/**
 * @name 实验报告管理模块
 */
// 获取实验报告列表

export const getAppDataList = (params: AppData.ReqAppDataParams) => {
  return http.post<ResPage<AppData.ResAppDataList>>(`/appData/query`, params);
};

// 获取柜体详情
export const getAppDataDtl = (params: { appDataId: string }) => {
  return http.post<ResultData>(`/appData/detail`, params);
};
